package com.itWaiLong.Dao;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private Integer id;
    private Integer userId;//评论者id
    private Integer postId;//被评论的内容的id
    private String content;//评论内容
    private Integer parentId;//被回复的评论的id
    private List<Comment> childComment;//回复的子序列
}
